package demo3;
//实现多个接口的例子

abstract public class Animal {
    public String name;

    public Animal(String name) {
        this.name = name;
    }

    public abstract void eat();
}
